package com.jinyouapp.cloud.dubbo.service;

/**
 * @Description: TODO
 * Created with IntelliJ IDEA.
 * User: Jahnke [1029777564@qq.com]
 * Date: 2018-11-17 9:22
 * To change this template use File | Settings | File Templates.
 */
public interface RedPacketDubboService {

    String getRedPacket(String sysCustomer, String muJson); // ce

    String getRedPacketByPacketTypeList(String sysCustomer, String packetType);

    String updatePlateRedPacket(String sysCustomer, String redPacketInfoStr); //ce

    String robRedPacket(String sysCustomer, Long id, String username);

    String getRedUserPacketRecord(String sysCustomer, String muJson);

    String useOrBackRedUserPacket(Long id, Integer backOrUse);

    String delRedPacket(String sysCustomer, String muJson);

    String addRedPacket(String sysCustomer, String redPacketJson, String mutualJson);

//    String addRedPacketList(String sysCustomer, String redPacketJson, String jmsJson);

    /**
     * 获取英营销的统计
     *
     * @param sysCustomer
     * @return
     */
    String getListSceneTotal(String sysCustomer);

    /**
     * 营销发券
     *
     * @param sysCustomer
     * @param redPacketJson
     * @param mutualJson
     * @return 大批量 发券 不接受返回信息
     */
    String addSceneRedPacketTiming(String sysCustomer, String redPacketJson, String mutualJson);

    /**
     * 营销发券 少量
     *
     * @param sysCustomer
     * @param redPacketJson
     * @return
     */
    String addSceneRedPacket(String sysCustomer, String redPacketJson);

    /**
     * 设置支付完成红包
     *
     * @param sysCustomer
     * @param redPacketJson
     * @return
     */
    String addPayFinishRedPacket(String sysCustomer, String redPacketJson);

    /**
     * 领取只付完成红包 v2 暂时没有使用
     *
     * @param sysCustomer
     * @param mutualJson
     * @return
     */
    String receivePayFinishRedPacket(String sysCustomer, String mutualJson);


    /**
     * 领取支付红包 2019/01/17支付完成领取红包 已测
     *
     * @param sysCustomer
     * @param mutualJson
     * @return
     */
    String payFinishRedPacketGet(String sysCustomer, String mutualJson);


    /**
     * 获取新用户红包活动信息
     *
     * @param sysCustomer
     * @param muJson
     * @return 2019/1/15 已测
     */
    String getNewRedPacket(String sysCustomer, String muJson);

    /***
     * 领取新用户红包
     * @param sysCustomer
     * @param muJson 2019/01/17 已测
     * @return
     */
    String receiveNewRedPacket(String sysCustomer, String muJson);

    /**
     * 获取红包记录信息
     *
     * @param sysCustomer
     * @param muJson      2019/01/15 已测
     * @return
     */
    String redPacketRecordHistoryByPage(String sysCustomer, String muJson);

    /**
     * 给指定人发红包 2019/01/15 已测
     *
     * @param sysCustomer
     * @param redPacketRecordJson
     * @param muJson
     * @return
     */
    String senRedPacketToUser(String sysCustomer, String redPacketRecordJson, String muJson);

    /**
     * 红包群发 不接受返回信息
     *
     * @param sysCustomer
     * @param redPacketRecordJson
     * @param muJson              2019/01/16 已测
     * @return
     */
    String senRedPacketToUserList(String sysCustomer, String redPacketRecordJson, String muJson);

    /**
     * 获取分享红包信息 2019/01/19 已测
     *
     * @param sysCustomer
     * @param muJson
     * @return
     */
    String shareRedPacketInfo(String sysCustomer, String muJson);

    /**
     * 保存分享红包信息 2019/01/19
     *
     * @param sysCustomer
     * @param shareRecordJson
     * @return
     */
    String saveShareRecord(String sysCustomer, String shareRecordJson);


    /**
     * 领取 分享红包
     * @param sysCustomer
     * @param muJson
     * @return
     */
    String acceptShareRedPacket(String sysCustomer, String muJson);

}
